package br.com.membros.database.services;

import javax.inject.Inject;
import javax.inject.Named;

import br.com.membros.database.entities.ControleEntity;
import br.com.membros.database.interfaces.IControleDao;
import br.com.membros.database.utils.GenericService;
import br.com.membros.database.utils.interfaces.IGenericDao;
import br.com.membros.utils.database.beans.ControleBean;
import br.com.membros.utils.database.interfaces.IControleService;

@Named
public class ControleService extends GenericService<ControleBean, ControleEntity, Long> implements IControleService {

	@Inject
	private IControleDao dao;
	
	@Override
	protected IGenericDao<ControleEntity, Long> getConcreteDao() {
		return dao;
	}

}